package com.bwie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bwie.pojo.TbOrder;
import com.bwie.pojo.TestPhoto;
import com.bwie.vo.EsOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

/**
 * @Title:
 * @BelongProjecet practice2
 * @BelongPackage com.bwie.mapper
 * @Description:
 * @Copyright 研发一部
 * @Author: Mr.yan
 * @Date: 2024/6/7 10:05
 * @Version V1.0
 */
@Mapper
public interface OrderMapper extends BaseMapper<TbOrder> {
    List<EsOrder> esOrderList(Date redisDate);

    @Select("select * from test_photo")
    List<TestPhoto> photoList();

}
